﻿using System.ComponentModel.DataAnnotations;
using Abp.Application.Services.Dto;

namespace ARchGL.Platform.Electrocar.Application
{
    public class PagedInputDto : IPagedResultRequest
    {
        public PagedInputDto()
        {
            MaxResultCount = AppConsts.DefaultPageSize;
        }

        /// <summary>
        /// 返回总数
        /// </summary>
        [Range(1, AppConsts.MaxPageSize)]
        public int MaxResultCount { get; set; }

        /// <summary>
        /// 页码
        /// </summary>
        [Range(0, int.MaxValue)]
        public int SkipCount { get; set; }
    }
}
